<template>
    <section class="page-welcome">

        <div class="page-welcome_container">
            <Transition name="fade" mode="out-in" enter-class="fade-enter-from">
                <RouterView />
            </Transition>
        </div>
    </section>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.page-welcome {

    position: relative;

    &::after {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        background: url(../../assets/images/welcome/bg-welcome.png) no-repeat center 0;
        background-size: cover;
        top: 0;
        left: 0;
        z-index: 0;
        animation: wobble ease 4s;
    }

}

@keyframes wobble {
    to {
        filter: blur(0);
        transform: scale(1);
    }

    from {
        filter: blur(3px);
        transform: scale(1.2);
    }
}



.page-welcome_container {
    width: 1920px;
    height: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.fade-enter-from {
    opacity: 0;
    transform: scale(.5);
}

.fade-enter-to {
    transform: scale(1);
    opacity: 1;
}

.fade-enter-active {
    transition: all .5s ease-out;
}


.fade-leave-from {
    transform: scale(1);
    opacity: 1;
}

.fade-leave-to {
    transform: scale(.8);
    opacity: 0;
}

.fade-leave-active {
    transition: all .5s ease-out;
}
</style>